#ifndef DATA_TYPE_COMPANY_H_H_H
#define DATA_TYPE_COMPANY_H_H_H

#include <string>

typedef struct {
    int         id;
    std::string name;
    int         age;
    std::string address;
    double      salary;
} company_t;

class DataTypeCompany
{
public:
    DataTypeCompany();
    ~DataTypeCompany();

public:
    std::string getCreateSql();
    std::string getInsertSql(const company_t &company);
    std::string getSelectSql();
    std::string getName();

public:
    static int callback(void *data, int argc, char *argv[], char *columns[]);
};

#endif